<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl.'/static/js/plugins/cityselect/cityselect.js',CClientScript::POS_END);?>   
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl.'/static/js/plugins/cityselect/citydata.js',CClientScript::POS_END);?>   
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl.'/static/js/plugins/cityselect/cityselect.pack.js',CClientScript::POS_END);?>   
<span class="select">
    <select id="<?php echo $id;?>-province"> 
    	<option selected="selected" value="none">请选择</option>       
    </select>
</span>
<span class="mr5px il-block">省</span>    
<span class="select">
    <select id="<?php echo $id;?>-city" disabled="disabled"> 
    	<option selected="selected" value="none">请选择</option>        
    </select>
</span>
<span class="mr5px il-block">市</span>
<?php 
echo CHtml::hiddenField($name,$value,array('id'=>$id));
Yii::app()->clientScript->registerScript('city_select' . $id,"$.cityselect(['#".$id."']);");
?>